package com.htthorizon.model.service;

import com.htthorizon.excel.excel.ModelUseExcel;
import com.htthorizon.model.domain.FeedBackDto;
import com.htthorizon.model.domain.ModelUse;
import com.htthorizon.model.domain.ModelUseCityDto;
import com.htthorizon.model.request.ModelUseSearch;
import com.htthorizon.model.response.ModelUseDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IModelUseService {
    List<ModelUse> list(ModelUseSearch modelUseSearch);

    boolean save(ModelUse modelUse);

    List<ModelUseDto> getModelUse(@Param("specType") Integer specType, Integer page, Integer pageSize);

    Map<String, Integer> getModelUseCity();

    int modelException();

    int modelBefore();

    Integer getModelUseCount(Integer specType);

    List<ModelUseExcel> listAllDownload();

    List<FeedBackDto>  getFeedBack2();

    List<ModelUseCityDto> modelUseCityVo2();
}
